package com.im.partchat.ui.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.im.partchat.R;
import com.im.partchat.base.BaseFragment;
import com.im.partchat.topic.TopicFragment;

import butterknife.BindView;
import butterknife.OnClick;
import butterknife.Unbinder;

/**
 * Created by fzl on 2017/6/26 0026.
 * VersionCode: 1
 * Desc:
 */

public class ActivityFragment extends BaseFragment {
    @BindView(R.id.btn)
    Button btn;
    Unbinder unbinder;

    public ActivityFragment() {
    }


    @Override
    protected void initView(View view, Bundle savedInstanceState) {

    }

    @Override
    protected int getLayoutId() {
        return R.layout.fragment_activity;
    }

    @Override
    protected void initData() {

    }

    @Override
    public void onLoadDataSuccess(Object o, String flag) {

    }

    @OnClick(R.id.btn)
    public void onViewClicked() {
        Intent intent = new Intent(context, TopicFragment.class);
        context.startActivity(intent);
    }
}
